#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>

int main()
{
  while(1)
  {
    printf("进程 and pid:%d ppid:%d \n",getpid(),getppid());
    sleep(1);
  }
  return 0;
}
